package models;

import java.util.ArrayList;

public abstract class Item {
	
	protected String name;
	protected int value;
	protected ArrayList<Effect> effects;
	
	public Item(String name, int value) {
		this.name = name;
		this.value = value;
		effects = new ArrayList<Effect>();
	}

	public ArrayList<Effect> getEffects() {
		return effects;
	}
	
	public void addEffect(Effect effect) {
		this.effects.add(effect);
	}
	
}
